<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="jSuggest.css" />
<script language="javascript" type="text/javascript" src="jquery-1.2.6.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery.jSuggest.1.0.js"></script>
<script language="javascript">
$(function(){

	$("#ya").jSuggest({
		url: "suggestion.html",
		type: "GET",
		data: "searchQuery",
		autoChange: true
	});

});
</script>
</head>
<body>

<label>
<input type="text" style="width:300px;" name="searchQuery" id="ya" />
</label>
<!-- 
<h3>Type on the box below to see auto suggest, in this setting, 3 characters minimum to get it working.</h3>

<p>The code used</p>
<pre>(function($){</pre>
<pre> $(&quot;#ya&quot;).jSuggest({
   url: &quot;suggestion.html&quot;,
   type: &quot;GET&quot;,
   data: &quot;searchQuery&quot; ,/* in this case it's suggestion.html?searchQuery=[text in the text field] */
   autoChange: true
 });</pre>
<pre>})(jQuery);</pre>
 -->
</body>
</html>
